package com.attendance.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 *
 * 打卡记录
 *
 */
public class Record implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer Id;

	/** 员工id */
	private Integer uid;

	/** 第一次打卡 */
	private Date record1;

	/** 第二次打卡 */
	private Date record2;

	/** 打卡日期 */
	private Date time;


	public Integer getId() {
		return this.Id;
	}

	public void setId(Integer Id) {
		this.Id = Id;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Date getRecord1() {
		return this.record1;
	}

	public void setRecord1(Date record1) {
		this.record1 = record1;
	}

	public Date getRecord2() {
		return this.record2;
	}

	public void setRecord2(Date record2) {
		this.record2 = record2;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Record{" +
				"Id=" + Id +
				", uid=" + uid +
				", record1=" + record1 +
				", record2=" + record2 +
				", time=" + time +
				'}';
	}
}
